package com.liuzh.deviceinfo.card;

import android.content.Context;
import android.os.Build;
import android.os.Build.VERSION;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import c.f.a.a.a.a;
import c.g.a.a.e;
import c.h.a.m0.h;
import c.h.a.z.o;

public class OverviewCard extends LinearLayout {
    public TextView a;

    public OverviewCard(Context context, AttributeSet attributeSet) {
        super(context, attributeSet, 0);
        a();
    }

    public final void a() {
        View.inflate(getContext(), 2131492931, this);
        if (!isInEditMode()) {
            ((TextView) findViewById(2131296507)).setText(Build.BRAND);
            TextView textView = (TextView) findViewById(2131296753);
            this.a = textView;
            textView.setText(a.q());
            new e(getContext().getApplicationContext(), null).a(new o(this));
            textView = (TextView) findViewById(2131296775);
            int i = VERSION.SDK_INT;
            textView.setText(h.c(i));
            ((TextView) findViewById(2131296774)).setText(h.a(i));
        }
    }
}
